package elements;

import com.robotium.solo.Solo;

import elements.login.Enter_Page;
import elements.login.Login_page;
import elements.login.Start_Page;
import elements.messages_TAB.MessageTAB_Page;
import utils.MyException.NotFoundException;

public class TestCase_entrance {
	public Solo solo;
	public Enter_Page enter_Activity;
	public Start_Page launch_Page;
	public Login_page login;
	public MessageTAB_Page MessageTAB_Page;

	public TestCase_entrance(Solo solo) {
		this.solo = solo;
	}

	/**
	 * 第一次打开app引导页面
	 * 
	 * @return
	 */
	public Enter_Page getEnter_Activity() {
		enter_Activity = new Enter_Page(solo);
		return enter_Activity;
	}

	/**
	 * 开始使用按钮
	 * 
	 * @return
	 * @throws NotFoundException
	 */
	public Start_Page getStart_Page()   {
		launch_Page = new Start_Page(solo);
		return launch_Page;
	}

	/**
	 * 登录界面
	 * 
	 * @return
	 * @throws NotFoundException
	 */
	public Login_page getLogin_page() throws NotFoundException {
		login = new Login_page(solo);
		return login;
	}
	/**
	 * 消息TAB主界面
	 * @return
	 */
	public MessageTAB_Page getMessageTAB_Page(){
		MessageTAB_Page=new MessageTAB_Page(solo);
		return MessageTAB_Page;
	}
}
